package me.xiaoyan.java.chapter14.game;

public class Hero {
	
	/**
	 * 打怪 
	 */
	public void attack(Monster monster)
	{
		System.out.println("开始打怪:" + monster.name);
		monster.hp = monster.hp - 10;
		System.out.println(monster.hp);
	}
}
